package com.xxljob.wry.task;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * <h1>  </h1>
 *
 * @author wry
 * @since 2023.04.05
 */
@Component
@Slf4j
public class XxlJobTest {

    @XxlJob("xxlJobTest")
    public ReturnT<String> XxlJobTest1(String date) {
        log.info("---------xxlJobTest定时任务执行成功--------{}", date);
        return ReturnT.SUCCESS;
    }
}
